<%@page import="java.util.List"%>
<%@include file="no_banner_header.jsp" %>
<div class="content_bar">REGITER YOU ANCILLARIES ACCOUNT</div>
<div class="break_line"></div>
<div class="break_line"></div>
<% if(request.getSession().getAttribute("registerError")!=null){%>
<div class="closable notification error" style="width: 475px;margin-left: 8px;">
    <%
        List error = (List)request.getSession().getAttribute("registerError");
        for(Object x:error){
            out.println(x);
        }
        
    %>
</div>
<%}%>
<div>
    <form action="../register" method="post">
        <div class="form_label">Email:</div>
        <div class="form_field">
            <input type="text" class="textboxEffect" id="reg_email" name="reg_email" size="35" maxlength="100" value="<%=request.getParameter("reg_email")!=null?request.getParameter("reg_email"):request.getSession().getAttribute("reg_email")!=null?request.getSession().getAttribute("reg_email"):""%>" />
            <span class="style4">*</span>    
        </div>
        <div class="break_line"></div>
        <div class="form_label">Reconfirm Email:</div>
        <div class="form_field">
            <input type="text" class="textboxEffect" id="conf_email" name="conf_email" size="35" maxlength="100" value="<%=request.getSession().getAttribute("conf_email")!=null?request.getSession().getAttribute("conf_email"):""%>" />
            <span class="style4">*</span>    
        </div>
        <div class="break_line"></div>
        <div class="form_label">Password:</div>
        <div class="form_field">
            <input type="password" class="textboxEffect" id="password" name="password" size="35" maxlength="100" value="<%=request.getSession().getAttribute("password")!=null?request.getSession().getAttribute("password"):""%>" />
            <span class="style4">*</span>    
        </div>
        <div class="break_line"></div>
        <div class="form_label">Confirm password:</div>
        <div class="form_field">
            <input type="password" class="textboxEffect" id="conf_pass" name="conf_pass" size="35" maxlength="100" value="<%=request.getSession().getAttribute("conf_pass")!=null?request.getSession().getAttribute("conf_pass"):""%>" />
            <span class="style4">*</span>    
        </div>
        <div class="break_line"></div>
        <div class="form_label">First Name:</div>
        <div class="form_field">
            <input type="text" class="textboxEffect" id="first_name" name="first_name" size="35" maxlength="100" value="<%=request.getSession().getAttribute("first_name")!=null?request.getSession().getAttribute("first_name"):""%>" />
            <span class="style4">*</span>    
        </div>
        <div class="break_line"></div>
        <div class="form_label">Last Name:</div>
        <div class="form_field">
            <input type="text" class="textboxEffect" id="last_name" name="last_name" size="35" maxlength="100" value="<%=request.getSession().getAttribute("last_name")!=null?request.getSession().getAttribute("last_name"):""%>" />
            <span class="style4">*</span>    
        </div>
        <div class="break_line"></div>
        <div class="form_label">Company:</div>
        <div class="form_field">
            <input type="text" class="textboxEffect" id="company" name="company" size="35" maxlength="100" value="<%=request.getSession().getAttribute("company")!=null?request.getSession().getAttribute("company"):""%>" />    
        </div>
        <div class="break_line"></div>
        <div class="form_label">Phone:</div>
        <div class="form_field">
            <input type="text" class="textboxEffect" id="phone" name="phone" size="35" maxlength="100" value="<%=request.getSession().getAttribute("phone")!=null?request.getSession().getAttribute("phone"):""%>" />
            <span class="style4">*</span>    
        </div>
        <div class="break_line"></div>
        <div class="form_label">Address</div>
        <div class="form_field">
            <input type="text" class="textboxEffect" id="address" name="address" size="35" maxlength="100" value="<%=request.getSession().getAttribute("address")!=null?request.getSession().getAttribute("address"):""%>" />
            <span class="style4">*</span>    
        </div>
        <div class="break_line"></div>
        <div class="form_label">&nbsp;</div>
        <div class="form_field" style="margin-bottom: 20px;float: left;">          
            <input type="submit" name="register" value="REGISTER" class="submit" />
        </div>
    </form>
</div>
<%@include file="footer.jsp" %>